#ifndef __WORKPANEL_H__
#define __WORKPANEL_H__

#include "workbasepanel.h"

class CGameObject;
class CWorkPanel: public CWorkBasePanel{
public:
    CWorkPanel( float fLeft, float fTop, float fWidth, float fHeight );
    virtual ~CWorkPanel();
    void Init();
    void Final();
    int32 Update( int32 nDelta, float fDelta );
    int32 Render();
    void SetPage( int32 nIndex );

private:
    virtual void OnClick( CUIElement* pElement );
    struct{
        CButton* m_pBtn;
        CWorkBasePanel* m_pPanel;
    }m_vTabItem[6];
    int32 m_nCurIndexItem;

};


#endif
